#ifndef _SHELL_WULINPLAYER_BEAN_H_
#define _SHELL_WULINPLAYER_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class WulinPlayer : public Bean
{
	public:
	WulinPlayer();
	~WulinPlayer();
	void reset();
	WulinPlayer* clone();
	//角色id
	int64 playerId;
	//名称
	string playerName;
	//等级
	int32 level;
	//战斗力
	int32 fightForce;
	//已被鼓励次数
	int32 encourage;
	//已被鼓励的加成百分比
	int32 encourageAdd;
	//猜测赢  0-无  1-猜测赢
	int8 guess;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
